import UIKit

struct  NewsViewModel: NewsPresentable {
    var title: String
    var thumbnailUrl: String
    var thumbnailHandler: (Void -> Void)?
    
    init(news: News, thumbnailHandler:(Void-> Void)?){
        self.title = news.postContent
        self.thumbnailUrl = news.postImgUrl
        self.thumbnailHandler = thumbnailHandler
    }
    
}
